/**
 * zc Inc. Copyright (c) 2023 All Rights Reserved.
 */
package com.company.exception.enums;


/**
 * 固定标示:AE
 * 应用ID:600049
 * 错误编码:321588
 * 分隔符:
*/
import com.company.exception.base.IResultCode;

/**
 * 错误码枚举
 *
 * @author poc
 * @date Dec 15, 2023
 */

public enum CustomResultCodeEnum implements IResultCode{

    /**
     * 系统错误码
     */
    AE600049000011("AE600049000011", "入参不能为空"),

    /**
     * 业务错误码
     */
    AE600049000012("AE600049000012", "积分账号不存在"),
    AE600049000013("AE600049000013", "积分余额不足"),

    ;

    private  String code;
    private  String desc;

    CustomResultCodeEnum(String code, String desc) {
        this.code = code;
        this.desc = desc;
    }

    public String getCode() {
        return code;
    }

    public String getDesc() {
        return desc;
    }

    public String getName() {
        return name();
    }

}